//Copyright © 2012 Ryan Larson, Ben Glasser
//[This program is licensed under the "GPL v3.0 License"]
// Please see the file COPYING in the source
//distribution of this software for license terms.

package org.app_chat.api;


import com.google.protobuf.Message;

/**
 * Created by Ryan of app-chat.org
 * on: 7/7/12 at 4:18 PM
 */

/**
 * Interface for publishing an {@link Message}
 */
public interface Publisher {
    /**
     * Simple method that takes an {@link Message} and publishes it to the underlying implementation
     *
     * @param message
     */
    void publish(Message message);
}
